package com.qinglei.recoup.system.pojo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * cxd
 */
@Data
public class FallDownAttrParm {

    @ApiModelProperty(value = "sn号")
    private String sn;

    @ApiModelProperty(value = "sn列表")
    private List<String> snList;

    @ApiModelProperty(value = "检测高度")
    @Max(3)
    @Min(2)
    private Float fallMonh;

    @ApiModelProperty(value = "报警时间")
//    @NotNull(message = "报警时间不能为空")
    @Max(120)
    @Min(10)
    private Integer fallAlat;

//    @ApiModelProperty(value = "用户高度")
//    private String fallUseh;


    @ApiModelProperty(value = "跌倒灯")
    @Max(1)
    @Min(0)
    private Integer fallLamp;

    @ApiModelProperty(value = "存在灯")
    @Max(1)
    @Min(0)
    private Integer fallExistLamp;

    @ApiModelProperty(value = "设备网络灯")
    @Max(1)
    @Min(0)
    private Integer fallNetLamp;

}
